package com.ikingtech.framework.sdk.organization.model;

import com.ikingtech.framework.sdk.base.model.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * @author tie yan
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(name = "OrganizationQueryParamDTO", description = "查询参数")
public class OrganizationQueryParamDTO extends PageParam implements Serializable {

    @Serial
    private static final long serialVersionUID = -2032409331246679895L;

    @Schema(name = "id", description = "组织编号，分页查询时使用")
    private String id;

    @Schema(name = "parentId", description = "父组织编号，分页查询时使用")
    private String parentId;

    @Schema(name = "fullPath", description = "组织全路径，分页查询时使用")
    private String fullPath;
    
    @Schema(name = "name", description = "组织名称，分页查询时使用")
    private String name;

    @Schema(name = "phone", description = "联系电话，分页查询时使用")
    private String phone;

    @Schema(name = "fax", description = "组织邮编，分页查询时使用")
    private String fax;

    @Schema(name = "address", description = "组织地址，分页查询时使用")
    private String address;

    @Schema(name = "manageDepartmentId", description = "组织管理部门编号，分页查询时使用")
    private String manageDepartmentId;

    @Schema(name = "orgIds", description = "组织管理部门编号，分页查询时使用")
    private List<String> orgIds;
}
